body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;


    font-family: "Trebuchet MS", Helvetica, sans-serif;
}

.selectable{
    -webkit-touch-callout: text;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.clearFloat{
    clear: both;
}

ul{
    list-style: none;
    margin: 0px 0px 0px 10px;
    padding: 0px;

}
li{
    padding: 0px;
    margin: 0px;
}

@keyframes flash {
    0% {opacity: 1;} 50% {opacity: 0.5;} 100% {opacity: 1;}
}
@-webkit-keyframes flash {
    0% {opacity: 1;} 50% {opacity: 0.5;} 100% {opacity: 1;}
}
.flash{
    -webkit-animation: flash 1s infinite;-o-animation: flash 1s infinite;animation: flash 1s infinite;
}


.iconButton{
    cursor: pointer;
    margin: auto 2px;
    color:#39628b;
}
.iconButton:active{
    -webkit-transform: scale(0.9, 0.9);
    -moz-transform: scale(0.9, 0.9);
    -ms-transform: scale(0.9, 0.9);
    -o-transform: scale(0.9, 0.9);
    transform: scale(0.9, 0.9);
}
.iconButton:hover{
    text-shadow:  0px 0px 4px #BBBBBB;
}

.attributeTable{
    margin-left: 0px;
}
.attributeTable .attributeItem{
    margin: 2px 4px 2px 0px;
    display: inline-block;
}

.dropTarget>.contentPanel:hover{
    box-shadow: 0px 0px 3px black;
}

.people>i{
    float: left;
    margin-top: 8px;
}
.people>div:first-of-type{
    margin-left: 20px;
}
.people .dropTarget{
    font-size: 0.9em;
    padding: 5px;
    margin-left: 20px;
    color:gray;
    text-align: center;
}

.contentPanel .title{
    cursor: pointer;
    padding: 2px 10px 2px 2px;
    border-radius: 3px;
    box-shadow: 0 0 2px black;
    margin: 3px 0px;
    border: 3px solid transparent;
}


#systemTreePanel, #editArea, #freeEntities{
    display: inline-block;
    float: left;
    padding:2px 5px;
    margin-right: 10px;
    border: 1px solid lightgray;

    height: 680px;
    min-width: 200px;
}

#systemTree{
    height: 600px;
    width: 400px;
    overflow: auto;
    padding: 5px;
}

.treeNode{
    opacity: 0;
}

.treeNode .expander{
    float: left;
    margin-top: 8px;
}

.treeNode .content{
    margin-left: 20px;
}

.treeNode .childrenList{
    clear: both;
    margin-top: 4px;
    margin-left: 20px;
}

.contentPanel .selected{
    border: 3px solid #61ce3c;
}
.contentPanel i{
    color: gray;
}
.contentPanel .levelInStar{
    margin-right: 10px;
    margin-left: 0px;
}

.gangTemplate, .whiteBusinessTemplate, .blackBusinessTemplate{
    border: #cccccc 1px solid;
}

.gangTemplate>.title{
    background-color: #F35E04;
    color:white;
}

.whiteBusinessTemplate>.title{
    background-color: #FCB95F;
    color:white;
}
.blackBusinessTemplate>.title{
    background-color: #6B94A5;
    color:white;
}
.manTemplate>.title{
    background-color: #A57166;
    color:white;
}
.womanTemplate>.title{
    background-color: #EF94A5;
    color:white;
}


#editArea>div:first-of-type{
    height: calc(100% - 110px);
}

.editorPanel .label{
    width: 120px;
    text-align: left;
    margin-top: 6px;
}
.editorPanel > div{
    margin: 2px;
}
.editorPanel .errorMessage{
    margin-right: 5px;
    color:red;
    font-size: 0.9em;
}
.editorPanel .error{
    box-shadow: 0px 0px 3px red;
}

.buttonArea{
    margin-top: 40px;
}
#addNew{
    height: 80px;
}



#freeEntityList{
    height: calc(100% - 60px);
    overflow: auto;
}

#freeEntityList .contentContainer{
    margin: 2px 4px;
}
#freeEntityList .contentContainer:hover{
    box-shadow: 0px 0px 3px black;
}



#animationVisual, #dragDropVisual{
    position: fixed;
    opacity: 0.8;
    max-width: 300px;
    max-height: 200px;
    z-index: 100;
    padding: 2px;
    background-color: whitesmoke;
}

#dragDropTip{
    position: fixed;
    z-index: 100;
    padding: 4px;
    background-color: lightgoldenrodyellow;
    border: 1px solid darkgoldenrod;
}